package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: Rose
 * @Date: 2021/4/10 16:53
 * @description ${description}
 * @version: 1.0.0
 */

public interface UserApi {

    @GetMapping("/query")
    User queryUser(
            @RequestParam("username") String username,
            @RequestParam("password") String password
    );
}
